<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户展示</title>
</head>
<body>
    <table>
        <thead>
            <th>id</th>
            <th>用户名</th>
            <th>密码</th>
            <th>昵称</th>
        </thead>
        <tbody>
        <tr th:each="item:${list}">
            <td th:text="${item.id}"></td>
            <td th:text="${item.username}"></td>
            <td th:text="${item.password}"></td>
            <td th:text="${item.nickname}"></td>
        </tr>
        </tbody>
    </table>
</body>
</html>